package hackthon.dao;

import hackthon.pojo.Attend;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Iterator;

/**
 * Created by wuwenhao on 15/1/8.
 */

@Repository
public class AttendDao extends BaseDao{
    @Override
    public String getNameSpace() {
        return "attend";
    }

    public int insertAttend(Attend attend){
        return (Integer)getSqlMapClientTemplate().insert(getNameSpace()+".insertEmail",attend);
    }
}
